package com.spark.rectify

import android.os.Bundle
import android.view.View
import com.spark.common.BaseFragment
import kotlinx.android.synthetic.main.frag_punish_order_preview.*

/**
 * 处罚单预览
 */
class PunishOrderPreviewFragment : BaseFragment() {
    companion object {
        fun newInstance(): PunishOrderPreviewFragment {
            val target = PunishOrderPreviewFragment()
            val args = Bundle()

            target.arguments = args
            return target
        }
    }

    override fun contentResId(): Int {
        return R.layout.frag_punish_order_preview
    }

    override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
        super.onViewCreated(view, savedInstanceState)
        btn_submit.setOnClickListener { activity?.finish() }
        btn_delivery.setOnClickListener { activity?.finish() }
    }

}